]> dgit.raspbian.org Git - gnome-shell.git/commit
backgroundMenu: Release the click gesture if a grab operation begun
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 25 Jun 2014 15:53:37 +0000 (17:53 +0200)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 8 Jul 2014 16:01:43 +0000 (12:01 -0400)
commit1ea2e2bcab50b3ac8648db410eba5d368de7c40b
tree316c5077adbb478bc34373a3c569e79529eef2b2
parenta8b15dd2cffabe3542ae8233210133abb870cf60
backgroundMenu: Release the click gesture if a grab operation begun

If an active grab on pointer events happens during multi-touch operations,
all non-pointer-emulating touches will be muted. This may leave the
Clutter.ClickAction incomplete if triggered by one of those sequences,
just to have a gesture take over and trigger a compositor grab, which would
leave the capture-event handler stuck eating events.

So listen for grab-op-begin from the display, and ensure the action is
released if such grab begins.
and the capture event handler stuck.
js/ui/backgroundMenu.js